package kotan.model;

import kotan.datastore.api.Entity;
import kotan.datastore.api.Key;

public class EntityModel {

    final Entity entity;

    public EntityModel(Entity entity) {
        this.entity = entity;
    }

    public Key getKey() {
        return entity.getKey();
    }

    public Entity getEntity() {
        return entity;
    }

    public String getKind() {
        return entity.getKey().getKind();
    }
}
